package com.example.stock.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class Article {

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @ExcelProperty("日期")
    private Date date;

    @ExcelProperty("来源")
    private String source;

    @ExcelProperty("标签")
    private String tag;

    @ExcelProperty("标题")
    private String title;
}
